package
{
// DEF #####################################################
import components.DefaultView;

public class ArtGConfig
{
// DEF #####################################################

[Embed(source="assets/line.png")]
[Bindable]public static var Line:Class;

public static const IMG1:String="assets/paint_1.jpg";
public static const IMG2:String="assets/paint_4.jpg";
public static const IMG3:String="assets/paint_5.jpg";
public static const COLL_VIEW_MODULE:String="CollViewModule.swf";


public static const PAGE_HEAD_TEXT:String="WELCOME TO ALEX TOTTOSI ART GALLERY";
public static const TITLE_TEXT:String	="Alex Tottosi Art Gallery. All rights reserved. © 2009";
public static const FOOTER_TEXT:String	=TITLE_TEXT;
public static const AMF_URL:String		="http://sandortottosi.com/gateway.php";
public static const URL:String			="http://sandortottosi.com/gallery/";
public static const URL_PATH:String		='./../../gallery';

//	Application Facede
public static const TMP_MODE:String		="tmpMode";
public static const HOME_MODE:String	="homeMode";
public static const ABOUT_MODE:String	="aboutMode";
public static const ART_MODE:String		="artMode";
public static const CONTACT_MODE:String	="contactMode";
public static const COLL_MODE:String	="collectionMode";

//	view Defaultview
public static const SHOW_TMP:String		='showTmp';
public static const SHOW_HOME:String	='showHome';
public static const SHOW_ABOUT:String	='showAbout';
public static const SHOW_ART:String		='showArt';
public static const SHOW_CONTACT:String	='showContact';
public static const SHOW_COLL:String	='showCollection';

//	view MainDisplay
public static const HOME:Number		= 0;
public static const ABOUT:Number	= 0;
public static const ART:Number		= 0;
public static const CONTACT:Number	= 0;
public static const COLL:Number		= 1;
public static const TMP:Number		= 2;

public static const URL_HOME:String 	='home';
public static const URL_ART:String		='art';
public static const URL_ABOUT:String	='about';
public static const URL_CONTACT:String	='contact';
public static const URL_COLL:String		='collection';

public static const HOME_CREATED:String 	='homeCreated';
public static const ART_CREATED:String 		='artCreated';
public static const ABOUT_CREATED:String	='aboutCreated';
public static const CONTACT_CREATED:String	='contactCreated';
public static const COLL_CREATED:String		='collectionCreated';

public static const HOME_TEXT:String=
		'<br /><br />This gallery exhibits the original work of Hungarian artist Sándor Tottosi. Sándor specializes in vibrant landscapes with the expert use of light and colour.<br/>' + 
		'<br/>"My aim is to create individual pieces for everyone\'s enjoyment"';
public static const ABOUT_TEXT:String=
		'I have had an affinity with drawing and painting for as long as I can remember. I have always been drawn to compositions which are full of vibrant colour. Exploring a broad range of mediums such as pastels, acrylics and oil paints. '+
		'I love  blending and working with  intense colours. I am drawn to painting landscapes as they can be imposing yet simple.<br />'+
		'<br />I hope you enjoy the gallery. If you have any questions,  please feel free to contact me at any time.<br />'+
		'<br />Thank You,<br />Sandor Tottosi';
public static const ART_TEXT:String=
		'<br/><br />A Personal Touch<br/>' + 
		'<br/>Commissioned art could give a really exciting touch to your home or business. Why not have an individual piece, customized to your home. Photos, images and art can be imitated or given a new twist. Tailor made pieces available on request. Please contact me for further consultation.';
public static const CONTACT_TEXT:String=
		'<p align="center"><br/><br /><br /><span class="center">Please feel free to contact me at:<br/>' + 
		'<br/><a href="mailto:tottosisanyo@yahoo.com"><b><center>tottosisanyo@yahoo.com</span></b></a></p>';
public static const COLL_TEXT:String='';

public static var textAreaMsg:String='';
public static function setTextAreaMsg():void{DefaultView.textAreaMsg=textAreaMsg;}

public static function segmentURL(url:String):Array
{
	var path:Array = url.toLowerCase().split('/');
//	var path:Array=url.toLowerCase().replace(/(\s*[\/]\s*)/g, '/').replace(/ /g,'').split(/[\/]/);
	String(path[0]).length ? null : path.shift();
	String(path[path.length-1]).length ? null : path.pop();
	return path;
}
// END #####################################################
}	//class
}	//package
// END #####################################################